import Home from "../pages/Home"
import City from "../pages/City"
import ShopCar from "../pages/ShopCar"
import Detail from "../pages/Detail"
const routes=[{
    path:'/home',
    name:'详情',
    component:Home
},{
    path:'/city',
    name:'城市选择',
    component:City
},{
    path:'/shopcar',
    name:'购物车',
    component:ShopCar
},{
    path:'/detail',
    name:'详情页面',
    component:Detail
},{
    from:'/',
    to:'/home'
}]

export default routes